/*********************************************************************************
 * File name    : opendev.h
 * Version      : 1.0.0
 * Date         : 2016-09-15
 * Description  : the main function of the opendev app
 * History      :
 **********************************************************************************/
#ifndef __OPENDEV_H__
#define __OPENDEV_H__

#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>

#define MSG_LEN_MAX     (2 * 1024)
#define UNIX_DOMAIN         "/tmp/opendev.domain"

#ifdef __cplusplus
extern "C"
{
#endif


/*******************************************
 * the struct of aliiot_socket
*******************************************/
typedef struct
{
    int                     isready;
    struct sockaddr_un      srv_addr;
    int                     srv_sockfd;
} aliiot_socket_t;

//用户自定义结构体，开发时重新自定义
typedef struct
{
  IVS_RESULT_PARAM_0 pIVSResult;  //车牌相关信息结构体
  VZ_LPWL_INFO pWListInfo;        //扩展信息结构体
}IVSResultAndLPWLInfo;


#ifdef __cplusplus
}
#endif
#endif
